package mybatis.service.impl;

import mybatis.dao.LanguageDao;
import mybatis.service.LanguageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LanguageServiceImpl implements LanguageService {
	@Autowired
	private LanguageDao languageDao;
	@Override
	public int findByName(String name) {
		int id = languageDao.findID(name);
		return id;
	}

	
}
